package com.xci.xajtfb.gjzn.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xci.xajtfb._core.IGpsConvert;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * ======================================================================
 * 公司: 西安交通信息投资营运有限公司-公交项目组
 * 作者：吕艳阳
 * 日期：2019-09-11
 * 简述：车辆GPS位置信息
 * ======================================================================
 */
@Data
public class BusGpsPosition implements IGpsConvert {
    /**
     * 车辆id
     */
    @ExcelIgnore
    @ApiModelProperty(value = "车辆id")
    private String busId;

    /**
     * 车辆编码
     */
    @Excel(name = "车辆编码")
    @ApiModelProperty(value = "车辆编码")
    private String busCode;

    /**
     * 终端时间
     */
    @Excel(name = "终端时间")
    @ApiModelProperty(value = "终端时间")
    private String terminalTime;

    /**
     * 经度
     */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度")
    private String longitude;

    /**
     * 经度
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度")
    private double longitudeValue;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度")
    private String latitude;

    /**
     * 纬度
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度")
    private double latitudeValue;

    /**
     * 方向
     */
    @Excel(name = "方向")
    @ApiModelProperty(value = "方向")
    private String direction;

    /**
     * 速度
     */
    @Excel(name = "速度")
    @ApiModelProperty(value = "速度")
    private String speed;
}
